<extend name="Index/index" />
<block name="center">
<div class="panel panel-blue">
    <div class="panel-heading">规则修改</div>
        <div class="panel-body pan">
                <form action="{:U('Admin/Roles/update')}" class="form-horizontal" method="post">
                    <div class="form-actions top">
                        
                    </div>
                    <div class="form-body pal">
                 <div class="form-group">
                            <label for="inputAddress" class="col-md-3 control-label">规则唯一标识 <span class="require">*</span>
                            </label>
                            <div class="col-md-9">
                                <div class="input-icon right" ><i class="fa fa-location-arrow"></i>
                                    <div style="float:left"><input type="text" value="{$info[0]['name']}" class="form-control" name="name" id="Roles" style="width:300px"></div><div style="float:left"><span id="con" error="输入的ID已存在" success="√" kong="ID不能为空" style="font-size:20px"></span></div>
                                </div>
                            </div>
                        </div>
                         <div class="form-group">
                            <label for="inputAddress" class="col-md-3 control-label">规则中文名称 <span class="require">*</span>
                            </label>
                            <div class="col-md-9">
                                <div class="input-icon right" ><i class="fa fa-location-arrow"></i>
                                    <div style="float:left"><input type="text" value="{$info[0]['title']}" class="form-control" name="title" id="Uadmin" style="width:300px"></div><div style="float:left"><span id="con" error="输入的权限名格式错误" success="√" kong="权限名不能为空" style="font-size:20px"></span></div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label" for="selGender">状态 <span class="require">*</span>
                            </label>
                            <div class="col-md-9">
                                <div class="radio">
                                    <label class="radio-inline">
                                        <div class="iradio_minimal-grey" style="position: relative;"><input type="radio" name="status" value="1" <if condition="$info[0]['status'] eq 1 ">checked</if> style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>&nbsp; 正常
                                    </label>
                                    <label class="radio-inline">
                                        <div class="iradio_minimal-grey" style="position: relative;"><input type="radio" name="status" value="0"  <if condition="$info[0]['status'] eq 0 ">checked</if> style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>&nbsp; 禁用
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label" for="selGender">认证方式<span class="require">*</span>
                            </label>
                            <div class="col-md-9">
                                <div class="radio">
                                    <label class="radio-inline">
                                        <div class="iradio_minimal-grey" style="position: relative;"><input type="radio" name="type" <if condition="$info[0]['type'] eq 1 ">checked</if> value="1" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>&nbsp; 实时认证
                                    </label>
                                    <label class="radio-inline">
                                        <div class="iradio_minimal-grey" style="position: relative;"><input type="radio" name="type" value="2"  <if condition="$info[0]['type'] eq 2 ">checked</if> style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>&nbsp; 登录认证
                                    </label>
                                </div>
                            </div>
                        </div>
                    <div class="form-actions">
                        <div class="col-md-offset-3 col-md-9">
                            <input type="hidden" name="id" value="{$info['0']['id']}">
                            <input type="submit" value="修改" class="btn btn-primary">&nbsp;
                            <button type="reset" class="btn btn-green">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
       

</block>